<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button shiro:hasPermission="jzweb:bookOrder:add" type="button" class="btn  btn-primary" onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>添加
							</button>
							<button shiro:hasPermission="jzweb:bookOrder:batchRemove" type="button" class="btn  btn-danger"
								onclick="batchRemove()">
								<i class="fa fa-trash" aria-hidden="true"></i>删除
							</button>
<!--							<button shiro:hasPermission="jzweb:bookOrder:examine" type="button" class="btn  btn-danger"-->
<!--									onclick="examineCk()">-->
<!--								<i class="fa fa-backward" aria-hidden="true"></i>仓库审核-->
<!--							</button>-->
						</div>
<!--						<div class="columns pull-left" style="margin-left:4px">-->
<!--							<button  type="button" class="btn  btn-success"-->
<!--									onclick="orderExcelModel()">-->
<!--								<i class="fa fa-download" aria-hidden="true"></i>导出-->
<!--							</button>-->
<!--						</div>-->
						<div class="columns pull-left" style="margin-left:4px">
							<button  type="button" class="btn  btn-success"
									 onclick="orderExcelModel()" shiro:hasPermission="jzweb:bookOrder:export">
								<i class="fa fa-download" aria-hidden="true"></i>导出
							</button>
						</div>
						<div class="columns pull-right">
							<button class="btn btn-primary" onclick="reLoad()">查询</button>
						</div>
						<div class="columns pull-right col-md-1 nopadding">
							<input id="school" type="text" class="form-control"
								   placeholder="输入学校查询">
						</div>
						<div class="columns pull-right col-md-1 nopadding">
							<input id="province" type="text" class="form-control"
								   placeholder="输入省份查询">
						</div>
<!--						<div class="columns pull-right col-md-1 nopadding">-->
<!--							<input id="searchName" type="text" class="form-control"-->
<!--								   placeholder="请输入名称">-->
<!--						</div>-->
						<div class="columns pull-right col-md-1 nopadding">
							<select id="state" name="state" class="form-control" >
								<option value="">选择订单状态</option>
								<option value="0">待审核</option>
								<option value="1">订单审核通过</option>
								<option value="2">订单审核拒绝</option>
								<option value="3">仓库审核通过</option>
								<option value="4">仓库审核拒绝</option>
							</select>
						</div>
						<!--发票状态-->
						<div class="columns pull-right col-md-1 nopadding">
							<select id="stateMoney" name="stateMoney" class="form-control" >
								<option value="">选择发票状态</option>
								<option value="0">未付款</option>
								<option value="1">已付款</option>
								<option value="2">未开票</option>
								<option value="3">已开票</option>
							</select>
						</div>
						<!--退款状态-->
						<div class="columns pull-right col-md-1 nopadding">
							<select id="refundState" name="refundState" class="form-control" >
								<option value="">选择退款状态</option>

								<option value="0">未审核</option>
								<option value="1">未退款</option>
								<option value="2">已退款</option>
							</select>
						</div>

						<div class="columns pull-right col-md-1 nopadding">
								<input id="endTime" name="endTime" class="form-control" type="text"
									   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" placeholder="请输入结束时间">

						</div>

						<div class="columns pull-right col-md-1 nopadding">
							<input id="startTime" name="startTime" class="form-control" type="text"
								   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" placeholder="请输入开始时间">

						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_reExam_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
				var s_reExam_hc = 'hidden';
				var s_reExam_ZG = 'hidden';
				var s_reExam_xq = 'hidden';
			</script>
		</div>

	<div shiro:hasPermission="jzweb:bookOrder:examineDetails">
		<script type="text/javascript">
			s_reExam_xq = '';
		</script>
	</div>

	<div shiro:hasPermission="jzweb:bookOrder:editZG">
		<script type="text/javascript">
			s_reExam_ZG = '';
		</script>
	</div>
	<div shiro:hasPermission="jzweb:bookOrder:examineCk">
		<script type="text/javascript">
			s_reExam_hc = '';
		</script>
	</div>

		<div shiro:hasPermission="jzweb:bookOrder:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="jzweb:bookOrder:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="jzweb:bookOrder:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	<div shiro:hasPermission="jzweb:bookOrder:examine">
		<script type="text/javascript">
			var s_reExam_h = '';
		</script>
	</div>

	</div>
	<div th:include="include :: footer"></div>
	<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="/js/webJs/jzweb/bookOrder/bookOrder1.js"></script>
</body>
</html>